package com.dfiov.cloud.msmtools.service.feign;


import com.dfiov.cloud.msmtools.mapper.entity.msbluetooth.D53DeviceBluetoothKeyListResp;
import com.pateo.qingcloud.framework.common.base.BaseRestResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

//@FeignClient(value = "msibluetoothkey")
@FeignClient(value = "msibluetoothkey",url = "http://msibluetoothkey.pro.dftccloud.t.home")
public interface MsIBlueToothKeyFeignClient {

    @RequestMapping(value = "/bluetoothkey/d53/searchOwnerKeys", method = RequestMethod.GET)
    BaseRestResponse<List<D53DeviceBluetoothKeyListResp>> searchOwnerKeys(
            @RequestHeader Map<String, Object> map,
            @RequestParam(required = false) Long userAccountSid,
            @RequestParam(required = false) String aid,
            @RequestParam(value = "vin", required = false) String vin) ;
}
